<div id="headmenu" class="headmenu_div">
	<?php
		if (hasRight(RIGHT_ADMIN)) {
			echo '<a href="index.php?section=admin" >Admin</a><br />';
		} 
	?>
	<a href="index.php?section=profile" >Profil</a><br>
	<a href="index.php?section=logout" >Logout</a>
</div>